package com.blb.community.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.blb.community.pojo.Area;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface AreaMapper extends BaseMapper<Area> {

    Area SelectAreaById(Integer code);

    @Select("select * from sys_area")
    List<Area> selectAll();
}
